﻿<div class="frame_main">
    <ul>
        <li class="frame_title_line">
            <div class="frame_title">我的作业</div>
        </li>
        <li>
            <link rel="stylesheet" type="text/css" href="~/Content/CSS/JumpPage.css" />
            <script type="text/javascript" src="~/Scripts/myJs/JumpPage.js"></script>
            <script>
                nowPage= @ViewBag.Index;
                maxPage= @ViewBag.MaxPage;
            </script>
            <div id="page">
                <div class="page">
                    <div>
                        <div>&nbsp;&nbsp;共 @ViewBag.AllCount 条记录&nbsp;每页显示10条&nbsp;&nbsp;</div>
                        <div>第 @ViewBag.Index页  共 @ViewBag.MaxPage 页</div>
                        <div class="btns btn_first0" onclick="PageJump__First()"></div>
                        <div class="btns btn_forward0" onclick="PageJump_Forward()"></div>
                        <div class="btns btn_back" onclick="PageJump_Back()"></div>
                        <div class="btns btn_end" onclick="PageJump_End()"></div>
                        <div>转到第</div>
                        <input name="edu_page_to" value="">
                        <div>页</div>
                    </div>
                    <div class="go_btn" onclick="PageJump_TO_PAGE()"></div>
                </div>
            </div>
            <script>
                nowPage= @ViewBag.Index;
                maxPage= @ViewBag.MaxPage;
                ChangePageCss();
            </script>

        </li>
        <li class="detaile_line">
            <table>
                <tbody>
                    <tr class="td_head" height="45">
                        <td>科目</td>
                        <td>作业标题</td>
                        <td>布置时间</td>
                        <td>是否已提交作业</td>
                        <td>操作</td>
                    </tr>
                    @if (Model != null)
                    {
                        foreach (var item in Model)
                        {
                            <tr>
                                <td>@item.Subject</td>
                                <td>@item.Title</td>
                                <td>@item.PublishTime</td>
                                <td>@item.State</td>
                                <td>
                                    <a href="javascript:;" onclick="window.open('@Url.Action("Details_HomeWork", "Study",new {id= item.ID})', '', 'height=500,width=820,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,left=200,top=100,resizable=yes');">详情</a>
                                </td>
                            </tr>
                        }
                    }
                </tbody>
            </table>
        </li>
    </ul>
</div>